const pool = require('../../mysql/Dao/sql')

const productwebService ={
    GetAllProduct:()=>{
        try{
            const params=[]
            const sql = 'select * from product'
            return pool(sql,params)
        }
        catch(err){
            return {
                err:err,code:400
            }
        }
    }
}
module.exports = productwebService